using UnityEngine;
using System.Collections;

/// \class  gkUtilityVector
/// \brief  Vector utility function
public class gkUtilityVector
{
	/// \brief  Return true if the two vetcor are approximatly the same
	public static bool Approximately(Vector3 a_f3VectorA, Vector3 a_f3VectorB)
	{
		return Mathf.Approximately(a_f3VectorA.x, a_f3VectorB.x) 
			&& Mathf.Approximately(a_f3VectorA.y, a_f3VectorB.y)
			&& Mathf.Approximately(a_f3VectorA.z, a_f3VectorB.z);
	}
}
